﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Orchard;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Settings;
using Orchard.DisplayManagement;
using Orchard.Localization;
using Orchard.Mvc;
using Orchard.UI.Notify;
using EMS.Calendar.Models;
using EMS.Calendar.Services;
using EMS.Calendar.ViewModels;

namespace EMS.Calendar.Controllers {
    public class AdminController : Controller {
        private readonly IOrchardServices _services;

        public dynamic Shape { get; set; }

        public Localizer T { get; set; }

        public AdminController(
            IContentManager contentManager,
            IContentDefinitionManager contentDefinitionManager,
            IShapeFactory shapeFactory,
            INotifier notifier,
            IOrchardServices services) {
            _services = services;
            Shape = shapeFactory;
            T = NullLocalizer.Instance;
        }

        //public ActionResult GetRecurrenceForm() {

        //}

        //public ActionResult GetSingleForm() {

        //}

        //public ActionResult GetRecurrencePatternDaily() {

        //}

        //public ActionResult GetRecurrencePatternWeekly() {

        //}

        //public ActionResult GetRecurrencePatternMonthly() {

        //}

        //public ActionResult GetRecurrencePatternYearly() {
        //    var viewModel = new 
        //    return PartialView("PartialRecurrencePatternYearly", viewModel);
        //}



        //public ActionResult GetNewCustomRouteForm() {
        //    var emptyModel = new CustomRouteModel {
        //        IndexForDisplay = false,
        //        IndexForXml = false,
        //        Name = string.Empty,
        //        Priority = 3,
        //        UpdateFrequency = "weekly",
        //        Url = string.Empty
        //    };
        //    return PartialView("PartialCustomRouteEditor", emptyModel);
        //}
    }
}
